package day10.Exer;

public class Sonartest {
    public static void main(String[] args) {
        Sonar a=new Sonar();
        Fish b=new Fish();
        Submaine c=new Submaine();
        a.scan(b);
        a.scan(c);
    }
}
